cmake_minimum_required(VERSION 3.4.1)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -fno-exceptions -Wall")
set(CMAKE_ANDROID_STL_TYPE c++_static)

include_directories( push_rtmp )

add_library(
                push_rtmp
                SHARED
        RtmpPushHandle.cpp
              )

find_library(
              log-lib
              log )



target_link_libraries(
        push_rtmp
        -landroid
        -llog
        ${log-lib}
        )